package entity;

import java.util.Date;

/**
 * 用户
 * @author Administrator
 *
 */
public class User {
	private Integer id;
	/**登录邮箱*/
	private String email;
	/**昵称*/
	private String nickname;
	/**前台页面传输过来的密码*/
	private String password;
	/**MD5加密后的密码*/
	private String passwordmd5;
	/**SHA1加密后的密码*/
	private String passwordsha1;
	/**用户等级*/
	private Integer user_integral;
	/**邮箱是否经过验证 
	 * 0:没有经过验证,1:经过验证
	 */
	private Integer is_email_verify;
	/**发到邮箱的验证码*/
	private String email_verify_code;
	/**最近登录时间*/
	private Date last_login_time;
	/**最近登录ip*/
	private String last_login_ip;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPasswordmd5() {
		return passwordmd5;
	}
	public void setPasswordmd5(String passwordmd5) {
		this.passwordmd5 = passwordmd5;
	}
	public String getPasswordsha1() {
		return passwordsha1;
	}
	public void setPasswordsha1(String passwordsha1) {
		this.passwordsha1 = passwordsha1;
	}
	public Integer getUser_integral() {
		return user_integral;
	}
	public void setUser_integral(Integer user_integral) {
		this.user_integral = user_integral;
	}
	public Integer getIs_email_verify() {
		return is_email_verify;
	}
	public void setIs_email_verify(Integer is_email_verify) {
		this.is_email_verify = is_email_verify;
	}
	public String getEmail_verify_code() {
		return email_verify_code;
	}
	public void setEmail_verify_code(String email_verify_code) {
		this.email_verify_code = email_verify_code;
	}
	public Date getLast_login_time() {
		return last_login_time;
	}
	public void setLast_login_time(Date last_login_time) {
		this.last_login_time = last_login_time;
	}
	public String getLast_login_ip() {
		return last_login_ip;
	}
	public void setLast_login_ip(String last_login_ip) {
		this.last_login_ip = last_login_ip;
	}
}
